USE [BusSystem]
GO

/****** Object:  Table [dbo].[Bus_BusBreakRules]    Script Date: 05/24/2010 23:38:21 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [dbo].[Bus_BusBreakRules](
	[RecID] [int] IDENTITY(1,1) NOT NULL,
	[DocID] [varchar](20) NOT NULL,
	[BusID] [varchar](20) NOT NULL,
	[CompanyID] [varchar](20) NULL,
	[CompanyName] [nvarchar](50) NULL,
	[DriverID] [varchar](20) NULL,
	[DriverName] [nvarchar](20) NULL,
	[BreakRuleTime] [smalldatetime] NULL,
	[BreakRuleType] [varchar](20) NULL,
	[BreakRuleLocation] [nvarchar](50) NULL,
	[BreakRuleNote] [nvarchar](200) NULL,
	[Forfeit] [decimal](18, 0) NULL,
	[RecDivID] [varchar](20) NOT NULL,
	[RecAcct] [varchar](20) NOT NULL,
	[RecDate] [smalldatetime] NOT NULL,
	[Void] [bit] NOT NULL,
	[VoidAcct] [varchar](20) NULL,
	[VoidDate] [smalldatetime] NULL,
	[Note] [nvarchar](200) NULL,
	[UserAcct] [varchar](20) NOT NULL,
	[LastUpdateDate] [smalldatetime] NOT NULL
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO

ALTER TABLE [dbo].[Bus_BusBreakRules] ADD  CONSTRAINT [DF_Bus_BusBreakRules_Void]  DEFAULT ((0)) FOR [Void]
GO


